<template>
  <div>
    <!-- 面包屑导航区域 -->
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: path }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>{{t1}}</el-breadcrumb-item>
      <el-breadcrumb-item>{{t2}}</el-breadcrumb-item>
    </el-breadcrumb>
    <!-- 卡片区域 -->
    <el-card>
      <slot></slot>
    </el-card>
  </div>
</template>

<script>
export default {
  // props 属性获取外部数据
  props: ["path", "t1", "t2"]
};
</script>

<style lang="less" scoped>
</style>